package com.tanhua.sso.pojo;

import lombok.*;
import lombok.extern.slf4j.Slf4j;

import java.util.Date;

@Data
//@Setter
//@Getter
//@AllArgsConstructor
//@NoArgsConstructor
@Slf4j
@Builder
public class Item {

    private Long id;
    private  String name;
    private Date create;

    public static void main(String[] args) {
//        User user = new User();
//        user.setId(123L);
//        System.out.println(user);
//        log.info(user.toString());

        Item user = builder().create(new Date()).id(123L).name("ZS").build();
        log.info(new String(user+""));
    }
}
